Vcenter Compute Policies Capabilities Vm Placement AntiAffinityWithVcls CreateSpec

Vcenter Compute Policies Capabilities Vm Placement AntiAffinityWithVcls CreateSpec
Vcenter Compute Policies Capabilities Vm Placement AntiAffinityWithVcls CreateSpec

This schema is deprecated as of vSphere API 9.0.0.0. In a future release of vSphere, the vCLS functionality will be disabled, vCLS system VMs will be deleted, and vCLS APIs will be removed.

The Vcenter Compute Policies Capabilities Vm Placement AntiAffinityWithVcls CreateSpec schema contains information used to create a new anti-affinity with vSphere Cluster Services (vCLS) VMs policy, see POST /vcenter/compute/policies. vSphere Cluster Services (vCLS) VMs are anti-affine with virtual machines that share the tag indicated by Vcenter Compute Policies Capabilities Vm Placement AntiAffinityWithVcls CreateSpec.vm_tag.

This schema was added in vSphere API 7.0.3.0.

AllOf
This class requires all of the following:
JSON Example
{
    "capability": "string",
    "name": "string",
    "description": "string",
    "vm_tag": "string"
}
string
vm_tag
Required

This property is deprecated as of vSphere API 9.0.0.0.

Identifier of a tag that can be associated with a virtual machine. vSphere Cluster Services (vCLS) VMs are anti-affine with virtual machines that share the tag indicated by Vcenter Compute Policies Capabilities Vm Placement AntiAffinityWithVcls CreateSpec.vm_tag.

This property was added in vSphere API 7.0.3.0.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine.

Deprecated